package com.xbn.xbnmall.ware.feign;

import com.xbn.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author XBN
 * @date 2020/8/24 22:06
 * @email 78742541@qq.com
 */
@FeignClient("xbnmall-order")
public interface OrderFeignService {

    @GetMapping("/order/order/status/{orderSn}")
    public R getOrderStatus(@PathVariable("orderSn") String orderSn);
}
